package com.bird.设计模式.结构型.装饰者模式.v1;

/**
 * @data 2022/3/14 17:19
 * @author: bird
 * @description: 煎饼+鸡蛋+香肠
 */
public class BatteryCakeWithEggSausage extends BatteryCakeWithEgg {
    @Override
    public String getDesc() {
        return super.getDesc() + " 加一根香肠";
    }

    @Override
    public int cost() {
        return super.cost() + 2;
    }
}
